﻿@{var seesionVar = Session["SELECTED-USER"] as SecurityApi.DataAccess.EnterpriseUser;}
@{var currentEnterprise = Session["SELECTED-ENTERPRISE"] as SecurityApi.Model.Enterprise; }
@{var currentApplication = Session["SELECTED-APPLICATION"] as SecurityApi.Model.Application; }

<table>

        <tr>
                <td class="userName">      
                      @Html.Raw("Selected Enterprise:")
                </td>

                <td class="selectedApplication">
                    @currentEnterprise.Title
                </td>
                 <td>
                    @Html.ActionLink("Change", "SelectEnterprise", "Enterprise", routeValues: null, htmlAttributes: new { @class = "k-button" })
                </td>
        </tr>

        <tr>
                <td class="userName">      
                      @Html.Raw("Selected Application:")
                </td>

                <td class="selectedApplication">
                    @if(null != currentApplication)
                    {
                        @currentApplication.Title
                    }
                    else
                    {
                        @Html.Raw("")   
                    }
                </td>
                 <td>
                    @Html.ActionLink("Change", "Index", "Home", routeValues: null, htmlAttributes: new { @class = "k-button" })
                </td>
        </tr>
    </table>

<style scoped="scoped">
    
.userName {
   color:white;
   padding-right:8px;
}

.selectedApplication{
   color:yellow;
   padding-right:8px;
   font-size: 20px;
   font-family:Verdana;
   font-weight: 200;
}

</style>